<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1 th:text="${shp}">Welocom</h1>
    <form method="post" enctype="multipart/form-data" action="/register">
        <label>头像:</label><input type="file" name="photo" /></br>
        <button type="submit">提交</button>
    </form>
</body>
</html>